package www.sharetime.weshare.response;

import java.io.Serializable;
import java.util.List;

/**
 * File Description  : 商品搜索响应
 *
 * @author : zhanggeng
 * @email : zhanggengdyx@gmail.com
 * @date : 2017/9/24 15:43
 * @version     : v1.0
 * **************修订历史*************
 */

public class BrandSearchResponse  {

    /**
     * code : 1
     * message : null
     * data : [{"id":1,"brandName":"小米手机a","brandThumb":"//img14.360buyimg.com//n0/jfs/t6076/41/6952241220/154994/ab2ac39e/5978518bNcc0b721c.jpg","brandImg":"//img14.360buyimg.com/n1/s450x450_jfs/t7024/38/630670006/126532/6f62f9cf/59785181N702fc1b6.jpg","brandOriginalImg":"//img14.360buyimg.com/n1/s450x450_jfs/t6859/270/720868896/241631/c96fb342/59795016N17ef8bc4.jpg","deleteStatus":0,"createTime":0},{"id":2,"brandName":"小米手机","brandThumb":"//img14.360buyimg.com//n0/jfs/t6076/41/6952241220/154994/ab2ac39e/5978518bNcc0b721c.jpg","brandImg":"//img14.360buyimg.com/n1/s450x450_jfs/t7024/38/630670006/126532/6f62f9cf/59785181N702fc1b6.jpg","brandOriginalImg":"//img14.360buyimg.com/n1/s450x450_jfs/t6859/270/720868896/241631/c96fb342/59795016N17ef8bc4.jpg","deleteStatus":0,"createTime":1502448525714}]
     */

    private int code;
    private Object message;
    private List<BrandEntity> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public List<BrandEntity> getData() {
        return data;
    }

    public void setData(List<BrandEntity> data) {
        this.data = data;
    }

    public static class BrandEntity implements Serializable{
        /**
         * id : 1
         * brandName : 小米手机a
         * brandThumb : //img14.360buyimg.com//n0/jfs/t6076/41/6952241220/154994/ab2ac39e/5978518bNcc0b721c.jpg
         * brandImg : //img14.360buyimg.com/n1/s450x450_jfs/t7024/38/630670006/126532/6f62f9cf/59785181N702fc1b6.jpg
         * brandOriginalImg : //img14.360buyimg.com/n1/s450x450_jfs/t6859/270/720868896/241631/c96fb342/59795016N17ef8bc4.jpg
         * deleteStatus : 0
         * createTime : 0
         */

        private int id;
        private String brandName;
        private String brandThumb;
        private String brandImg;
        private String brandOriginalImg;
        private int deleteStatus;
        private long createTime;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getBrandName() {
            return brandName;
        }

        public void setBrandName(String brandName) {
            this.brandName = brandName;
        }

        public String getBrandThumb() {
            return brandThumb;
        }

        public void setBrandThumb(String brandThumb) {
            this.brandThumb = brandThumb;
        }

        public String getBrandImg() {
            return brandImg;
        }

        public void setBrandImg(String brandImg) {
            this.brandImg = brandImg;
        }

        public String getBrandOriginalImg() {
            return brandOriginalImg;
        }

        public void setBrandOriginalImg(String brandOriginalImg) {
            this.brandOriginalImg = brandOriginalImg;
        }

        public int getDeleteStatus() {
            return deleteStatus;
        }

        public void setDeleteStatus(int deleteStatus) {
            this.deleteStatus = deleteStatus;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        @Override
        public String toString() {
            return "BrandEntity{" +
                    "id=" + id +
                    ", brandName='" + brandName + '\'' +
                    ", brandThumb='" + brandThumb + '\'' +
                    ", brandImg='" + brandImg + '\'' +
                    ", brandOriginalImg='" + brandOriginalImg + '\'' +
                    ", deleteStatus=" + deleteStatus +
                    ", createTime=" + createTime +
                    '}';
        }
    }
}
